3.20 \(\int \frac{a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^3 \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx\)

Optimal. Leaf size=680 \[ -\frac{\sqrt{f} (b B-2 a C) \sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right ),\frac{h (d e-c f)}{f (d g-c h)}\right )}{\sqrt{e+f x} \sqrt{g+h x} (b c-a d) (b e-a f)}-\frac{\sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}} \left (-a^2 b (3 B d f h+2 C (c f h+d e h+d f g))+4 a^3 C d f h+2 a b^2 B (c f h+d e h+d f g)-b^3 (B d e g-c (-B e h-B f g+2 C e g))\right ) \Pi \left (-\frac{b (d e-c f)}{(b c-a d) f};\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{\sqrt{f} \sqrt{e+f x} \sqrt{g+h x} (b c-a d)^2 (b e-a f) (b g-a h)}-\frac{b^2 \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x} (b B-2 a C)}{(a+b x) (b c-a d) (b e-a f) (b g-a h)}+\frac{b \sqrt{f} \sqrt{g+h x} (b B-2 a C) \sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} E\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{\sqrt{e+f x} (b c-a d) (b e-a f) (b g-a h) \sqrt{\frac{d (g+h x)}{d g-c h}}} \]

[Out]

-((b^2*(b*B - 2*a*C)*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x])/((b*c - a*d)*(b*e - a*f)*(b*g - a*h)*(a + b*x)
)) + (b*(b*B - 2*a*C)*Sqrt[f]*Sqrt[-(d*e) + c*f]*Sqrt[(d*(e + f*x))/(d*e - c*f)]*Sqrt[g + h*x]*EllipticE[ArcSi
n[(Sqrt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*f]], ((d*e - c*f)*h)/(f*(d*g - c*h))])/((b*c - a*d)*(b*e - a*f)*(b*g
 - a*h)*Sqrt[e + f*x]*Sqrt[(d*(g + h*x))/(d*g - c*h)]) - ((b*B - 2*a*C)*Sqrt[f]*Sqrt[-(d*e) + c*f]*Sqrt[(d*(e
+ f*x))/(d*e - c*f)]*Sqrt[(d*(g + h*x))/(d*g - c*h)]*EllipticF[ArcSin[(Sqrt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*
f]], ((d*e - c*f)*h)/(f*(d*g - c*h))])/((b*c - a*d)*(b*e - a*f)*Sqrt[e + f*x]*Sqrt[g + h*x]) - (Sqrt[-(d*e) +
c*f]*(4*a^3*C*d*f*h + 2*a*b^2*B*(d*f*g + d*e*h + c*f*h) - b^3*(B*d*e*g - c*(2*C*e*g - B*f*g - B*e*h)) - a^2*b*
(3*B*d*f*h + 2*C*(d*f*g + d*e*h + c*f*h)))*Sqrt[(d*(e + f*x))/(d*e - c*f)]*Sqrt[(d*(g + h*x))/(d*g - c*h)]*Ell
ipticPi[-((b*(d*e - c*f))/((b*c - a*d)*f)), ArcSin[(Sqrt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*f]], ((d*e - c*f)*h
)/(f*(d*g - c*h))])/((b*c - a*d)^2*Sqrt[f]*(b*e - a*f)*(b*g - a*h)*Sqrt[e + f*x]*Sqrt[g + h*x])

________________________________________________________________________________________

Rubi [A]  time = 1.81509, antiderivative size = 680, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 11, integrand size = 60, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.183, Rules used = {24, 1599, 1607, 169, 538, 537, 158, 114, 113, 121, 120} \[ -\frac{\sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}} \left (-a^2 b (3 B d f h+2 C (c f h+d e h+d f g))+4 a^3 C d f h+2 a b^2 B (c f h+d e h+d f g)-b^3 (B d e g-c (-B e h-B f g+2 C e g))\right ) \Pi \left (-\frac{b (d e-c f)}{(b c-a d) f};\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{\sqrt{f} \sqrt{e+f x} \sqrt{g+h x} (b c-a d)^2 (b e-a f) (b g-a h)}-\frac{b^2 \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x} (b B-2 a C)}{(a+b x) (b c-a d) (b e-a f) (b g-a h)}-\frac{\sqrt{f} (b B-2 a C) \sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}} F\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{\sqrt{e+f x} \sqrt{g+h x} (b c-a d) (b e-a f)}+\frac{b \sqrt{f} \sqrt{g+h x} (b B-2 a C) \sqrt{c f-d e} \sqrt{\frac{d (e+f x)}{d e-c f}} E\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{c f-d e}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{\sqrt{e+f x} (b c-a d) (b e-a f) (b g-a h) \sqrt{\frac{d (g+h x)}{d g-c h}}} \]

Antiderivative was successfully verified.

[In]

Int[(a*b*B - a^2*C + b^2*B*x + b^2*C*x^2)/((a + b*x)^3*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

-((b^2*(b*B - 2*a*C)*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x])/((b*c - a*d)*(b*e - a*f)*(b*g - a*h)*(a + b*x)
)) + (b*(b*B - 2*a*C)*Sqrt[f]*Sqrt[-(d*e) + c*f]*Sqrt[(d*(e + f*x))/(d*e - c*f)]*Sqrt[g + h*x]*EllipticE[ArcSi
n[(Sqrt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*f]], ((d*e - c*f)*h)/(f*(d*g - c*h))])/((b*c - a*d)*(b*e - a*f)*(b*g
 - a*h)*Sqrt[e + f*x]*Sqrt[(d*(g + h*x))/(d*g - c*h)]) - ((b*B - 2*a*C)*Sqrt[f]*Sqrt[-(d*e) + c*f]*Sqrt[(d*(e
+ f*x))/(d*e - c*f)]*Sqrt[(d*(g + h*x))/(d*g - c*h)]*EllipticF[ArcSin[(Sqrt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*
f]], ((d*e - c*f)*h)/(f*(d*g - c*h))])/((b*c - a*d)*(b*e - a*f)*Sqrt[e + f*x]*Sqrt[g + h*x]) - (Sqrt[-(d*e) +
c*f]*(4*a^3*C*d*f*h + 2*a*b^2*B*(d*f*g + d*e*h + c*f*h) - b^3*(B*d*e*g - c*(2*C*e*g - B*f*g - B*e*h)) - a^2*b*
(3*B*d*f*h + 2*C*(d*f*g + d*e*h + c*f*h)))*Sqrt[(d*(e + f*x))/(d*e - c*f)]*Sqrt[(d*(g + h*x))/(d*g - c*h)]*Ell
ipticPi[-((b*(d*e - c*f))/((b*c - a*d)*f)), ArcSin[(Sqrt[f]*Sqrt[c + d*x])/Sqrt[-(d*e) + c*f]], ((d*e - c*f)*h
)/(f*(d*g - c*h))])/((b*c - a*d)^2*Sqrt[f]*(b*e - a*f)*(b*g - a*h)*Sqrt[e + f*x]*Sqrt[g + h*x])

Rule 24

Int[(u_.)*((a_) + (b_.)*(v_))^(m_)*((A_.) + (B_.)*(v_) + (C_.)*(v_)^2), x_Symbol] :> Dist[1/b^2, Int[u*(a + b*
v)^(m + 1)*Simp[b*B - a*C + b*C*v, x], x], x] /; FreeQ[{a, b, A, B, C}, x] && EqQ[A*b^2 - a*b*B + a^2*C, 0] &&
 LeQ[m, -1]

Rule 1599

Int[(((a_.) + (b_.)*(x_))^(m_)*((A_.) + (B_.)*(x_)))/(Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(
g_.) + (h_.)*(x_)]), x_Symbol] :> Simp[((A*b^2 - a*b*B)*(a + b*x)^(m + 1)*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g +
 h*x])/((m + 1)*(b*c - a*d)*(b*e - a*f)*(b*g - a*h)), x] - Dist[1/(2*(m + 1)*(b*c - a*d)*(b*e - a*f)*(b*g - a*
h)), Int[((a + b*x)^(m + 1)/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]))*Simp[A*(2*a^2*d*f*h*(m + 1) - 2*a*b*(
m + 1)*(d*f*g + d*e*h + c*f*h) + b^2*(2*m + 3)*(d*e*g + c*f*g + c*e*h)) - b*B*(a*(d*e*g + c*f*g + c*e*h) + 2*b
*c*e*g*(m + 1)) - 2*((A*b - a*B)*(a*d*f*h*(m + 1) - b*(m + 2)*(d*f*g + d*e*h + c*f*h)))*x + d*f*h*(2*m + 5)*(A
*b^2 - a*b*B)*x^2, x], x], x] /; FreeQ[{a, b, c, d, e, f, g, h, A, B}, x] && IntegerQ[2*m] && LtQ[m, -1]

Rule 1607

Int[(Px_)*((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.)*((g_.) + (h_.)*(x_)
)^(q_.), x_Symbol] :> Dist[PolynomialRemainder[Px, a + b*x, x], Int[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p*(g + h
*x)^q, x], x] + Int[PolynomialQuotient[Px, a + b*x, x]*(a + b*x)^(m + 1)*(c + d*x)^n*(e + f*x)^p*(g + h*x)^q,
x] /; FreeQ[{a, b, c, d, e, f, g, h, m, n, p, q}, x] && PolyQ[Px, x] && EqQ[m, -1]

Rule 169

Int[1/(((a_.) + (b_.)*(x_))*Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_Sym
bol] :> Dist[-2, Subst[Int[1/(Simp[b*c - a*d - b*x^2, x]*Sqrt[Simp[(d*e - c*f)/d + (f*x^2)/d, x]]*Sqrt[Simp[(d
*g - c*h)/d + (h*x^2)/d, x]]), x], x, Sqrt[c + d*x]], x] /; FreeQ[{a, b, c, d, e, f, g, h}, x] &&  !SimplerQ[e
 + f*x, c + d*x] &&  !SimplerQ[g + h*x, c + d*x]

Rule 538

Int[1/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x_)^2]), x_Symbol] :> Dist[Sqrt[1 +
(d*x^2)/c]/Sqrt[c + d*x^2], Int[1/((a + b*x^2)*Sqrt[1 + (d*x^2)/c]*Sqrt[e + f*x^2]), x], x] /; FreeQ[{a, b, c,
 d, e, f}, x] &&  !GtQ[c, 0]

Rule 537

Int[1/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x_)^2]), x_Symbol] :> Simp[(1*Ellipt
icPi[(b*c)/(a*d), ArcSin[Rt[-(d/c), 2]*x], (c*f)/(d*e)])/(a*Sqrt[c]*Sqrt[e]*Rt[-(d/c), 2]), x] /; FreeQ[{a, b,
 c, d, e, f}, x] &&  !GtQ[d/c, 0] && GtQ[c, 0] && GtQ[e, 0] &&  !( !GtQ[f/e, 0] && SimplerSqrtQ[-(f/e), -(d/c)
])

Rule 158

Int[((g_.) + (h_.)*(x_))/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(e_) + (f_.)*(x_)]), x_Symbol]
 :> Dist[h/f, Int[Sqrt[e + f*x]/(Sqrt[a + b*x]*Sqrt[c + d*x]), x], x] + Dist[(f*g - e*h)/f, Int[1/(Sqrt[a + b*
x]*Sqrt[c + d*x]*Sqrt[e + f*x]), x], x] /; FreeQ[{a, b, c, d, e, f, g, h}, x] && SimplerQ[a + b*x, e + f*x] &&
 SimplerQ[c + d*x, e + f*x]

Rule 114

Int[Sqrt[(e_.) + (f_.)*(x_)]/(Sqrt[(a_) + (b_.)*(x_)]*Sqrt[(c_) + (d_.)*(x_)]), x_Symbol] :> Dist[(Sqrt[e + f*
x]*Sqrt[(b*(c + d*x))/(b*c - a*d)])/(Sqrt[c + d*x]*Sqrt[(b*(e + f*x))/(b*e - a*f)]), Int[Sqrt[(b*e)/(b*e - a*f
) + (b*f*x)/(b*e - a*f)]/(Sqrt[a + b*x]*Sqrt[(b*c)/(b*c - a*d) + (b*d*x)/(b*c - a*d)]), x], x] /; FreeQ[{a, b,
 c, d, e, f}, x] &&  !(GtQ[b/(b*c - a*d), 0] && GtQ[b/(b*e - a*f), 0]) &&  !LtQ[-((b*c - a*d)/d), 0]

Rule 113

Int[Sqrt[(e_.) + (f_.)*(x_)]/(Sqrt[(a_) + (b_.)*(x_)]*Sqrt[(c_) + (d_.)*(x_)]), x_Symbol] :> Simp[(2*Rt[-((b*e
 - a*f)/d), 2]*EllipticE[ArcSin[Sqrt[a + b*x]/Rt[-((b*c - a*d)/d), 2]], (f*(b*c - a*d))/(d*(b*e - a*f))])/b, x
] /; FreeQ[{a, b, c, d, e, f}, x] && GtQ[b/(b*c - a*d), 0] && GtQ[b/(b*e - a*f), 0] &&  !LtQ[-((b*c - a*d)/d),
 0] &&  !(SimplerQ[c + d*x, a + b*x] && GtQ[-(d/(b*c - a*d)), 0] && GtQ[d/(d*e - c*f), 0] &&  !LtQ[(b*c - a*d)
/b, 0])

Rule 121

Int[1/(Sqrt[(a_) + (b_.)*(x_)]*Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(e_) + (f_.)*(x_)]), x_Symbol] :> Dist[Sqrt[(b*(c
+ d*x))/(b*c - a*d)]/Sqrt[c + d*x], Int[1/(Sqrt[a + b*x]*Sqrt[(b*c)/(b*c - a*d) + (b*d*x)/(b*c - a*d)]*Sqrt[e
+ f*x]), x], x] /; FreeQ[{a, b, c, d, e, f}, x] &&  !GtQ[(b*c - a*d)/b, 0] && SimplerQ[a + b*x, c + d*x] && Si
mplerQ[a + b*x, e + f*x]

Rule 120

Int[1/(Sqrt[(a_) + (b_.)*(x_)]*Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(e_) + (f_.)*(x_)]), x_Symbol] :> Simp[(2*Rt[-(b/d
), 2]*EllipticF[ArcSin[Sqrt[a + b*x]/(Rt[-(b/d), 2]*Sqrt[(b*c - a*d)/b])], (f*(b*c - a*d))/(d*(b*e - a*f))])/(
b*Sqrt[(b*e - a*f)/b]), x] /; FreeQ[{a, b, c, d, e, f}, x] && GtQ[b/(b*c - a*d), 0] && GtQ[b/(b*e - a*f), 0] &
& SimplerQ[a + b*x, c + d*x] && SimplerQ[a + b*x, e + f*x] && (PosQ[-((b*c - a*d)/d)] || NegQ[-((b*e - a*f)/f)
])

Rubi steps

\begin{align*} \int \frac{a b B-a^2 C+b^2 B x+b^2 C x^2}{(a+b x)^3 \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx &=\frac{\int \frac{b^2 (b B-a C)+b^3 C x}{(a+b x)^2 \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx}{b^2}\\ &=-\frac{b^2 (b B-2 a C) \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{(b c-a d) (b e-a f) (b g-a h) (a+b x)}+\frac{\int \frac{b^2 \left (b^2 C (2 b c e g-a (d e g+c f g+c e h))-(b B-a C) \left (2 a^2 d f h+b^2 (d e g+c f g+c e h)-2 a b (d f g+d e h+c f h)\right )\right )+2 a b^3 (b B-2 a C) d f h x+b^4 (b B-2 a C) d f h x^2}{(a+b x) \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx}{2 b^2 (b c-a d) (b e-a f) (b g-a h)}\\ &=-\frac{b^2 (b B-2 a C) \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{(b c-a d) (b e-a f) (b g-a h) (a+b x)}+\frac{\int \frac{a b^3 B d f h-2 a^2 b^2 C d f h+\left (b^4 B d f h-2 a b^3 C d f h\right ) x}{\sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx}{2 b^2 (b c-a d) (b e-a f) (b g-a h)}+\frac{\left (4 a^3 C d f h+2 a b^2 B (d f g+d e h+c f h)-b^3 (B d e g-c (2 C e g-B f g-B e h))-a^2 b (3 B d f h+2 C (d f g+d e h+c f h))\right ) \int \frac{1}{(a+b x) \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx}{2 (b c-a d) (b e-a f) (b g-a h)}\\ &=-\frac{b^2 (b B-2 a C) \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{(b c-a d) (b e-a f) (b g-a h) (a+b x)}-\frac{((b B-2 a C) d f) \int \frac{1}{\sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx}{2 (b c-a d) (b e-a f)}+\frac{(b (b B-2 a C) d f) \int \frac{\sqrt{g+h x}}{\sqrt{c+d x} \sqrt{e+f x}} \, dx}{2 (b c-a d) (b e-a f) (b g-a h)}-\frac{\left (4 a^3 C d f h+2 a b^2 B (d f g+d e h+c f h)-b^3 (B d e g-c (2 C e g-B f g-B e h))-a^2 b (3 B d f h+2 C (d f g+d e h+c f h))\right ) \operatorname{Subst}\left (\int \frac{1}{\left (b c-a d-b x^2\right ) \sqrt{e-\frac{c f}{d}+\frac{f x^2}{d}} \sqrt{g-\frac{c h}{d}+\frac{h x^2}{d}}} \, dx,x,\sqrt{c+d x}\right )}{(b c-a d) (b e-a f) (b g-a h)}\\ &=-\frac{b^2 (b B-2 a C) \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{(b c-a d) (b e-a f) (b g-a h) (a+b x)}-\frac{\left ((b B-2 a C) d f \sqrt{\frac{d (e+f x)}{d e-c f}}\right ) \int \frac{1}{\sqrt{c+d x} \sqrt{\frac{d e}{d e-c f}+\frac{d f x}{d e-c f}} \sqrt{g+h x}} \, dx}{2 (b c-a d) (b e-a f) \sqrt{e+f x}}-\frac{\left (\left (4 a^3 C d f h+2 a b^2 B (d f g+d e h+c f h)-b^3 (B d e g-c (2 C e g-B f g-B e h))-a^2 b (3 B d f h+2 C (d f g+d e h+c f h))\right ) \sqrt{\frac{d (e+f x)}{d e-c f}}\right ) \operatorname{Subst}\left (\int \frac{1}{\left (b c-a d-b x^2\right ) \sqrt{1+\frac{f x^2}{d \left (e-\frac{c f}{d}\right )}} \sqrt{g-\frac{c h}{d}+\frac{h x^2}{d}}} \, dx,x,\sqrt{c+d x}\right )}{(b c-a d) (b e-a f) (b g-a h) \sqrt{e+f x}}+\frac{\left (b (b B-2 a C) d f \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{g+h x}\right ) \int \frac{\sqrt{\frac{d g}{d g-c h}+\frac{d h x}{d g-c h}}}{\sqrt{c+d x} \sqrt{\frac{d e}{d e-c f}+\frac{d f x}{d e-c f}}} \, dx}{2 (b c-a d) (b e-a f) (b g-a h) \sqrt{e+f x} \sqrt{\frac{d (g+h x)}{d g-c h}}}\\ &=-\frac{b^2 (b B-2 a C) \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{(b c-a d) (b e-a f) (b g-a h) (a+b x)}+\frac{b (b B-2 a C) \sqrt{f} \sqrt{-d e+c f} \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{g+h x} E\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{-d e+c f}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{(b c-a d) (b e-a f) (b g-a h) \sqrt{e+f x} \sqrt{\frac{d (g+h x)}{d g-c h}}}-\frac{\left ((b B-2 a C) d f \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}}\right ) \int \frac{1}{\sqrt{c+d x} \sqrt{\frac{d e}{d e-c f}+\frac{d f x}{d e-c f}} \sqrt{\frac{d g}{d g-c h}+\frac{d h x}{d g-c h}}} \, dx}{2 (b c-a d) (b e-a f) \sqrt{e+f x} \sqrt{g+h x}}-\frac{\left (\left (4 a^3 C d f h+2 a b^2 B (d f g+d e h+c f h)-b^3 (B d e g-c (2 C e g-B f g-B e h))-a^2 b (3 B d f h+2 C (d f g+d e h+c f h))\right ) \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}}\right ) \operatorname{Subst}\left (\int \frac{1}{\left (b c-a d-b x^2\right ) \sqrt{1+\frac{f x^2}{d \left (e-\frac{c f}{d}\right )}} \sqrt{1+\frac{h x^2}{d \left (g-\frac{c h}{d}\right )}}} \, dx,x,\sqrt{c+d x}\right )}{(b c-a d) (b e-a f) (b g-a h) \sqrt{e+f x} \sqrt{g+h x}}\\ &=-\frac{b^2 (b B-2 a C) \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{(b c-a d) (b e-a f) (b g-a h) (a+b x)}+\frac{b (b B-2 a C) \sqrt{f} \sqrt{-d e+c f} \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{g+h x} E\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{-d e+c f}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{(b c-a d) (b e-a f) (b g-a h) \sqrt{e+f x} \sqrt{\frac{d (g+h x)}{d g-c h}}}-\frac{(b B-2 a C) \sqrt{f} \sqrt{-d e+c f} \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}} F\left (\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{-d e+c f}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{(b c-a d) (b e-a f) \sqrt{e+f x} \sqrt{g+h x}}-\frac{\sqrt{-d e+c f} \left (4 a^3 C d f h+2 a b^2 B (d f g+d e h+c f h)-b^3 (B d e g-c (2 C e g-B f g-B e h))-a^2 b (3 B d f h+2 C (d f g+d e h+c f h))\right ) \sqrt{\frac{d (e+f x)}{d e-c f}} \sqrt{\frac{d (g+h x)}{d g-c h}} \Pi \left (-\frac{b (d e-c f)}{(b c-a d) f};\sin ^{-1}\left (\frac{\sqrt{f} \sqrt{c+d x}}{\sqrt{-d e+c f}}\right )|\frac{(d e-c f) h}{f (d g-c h)}\right )}{(b c-a d)^2 \sqrt{f} (b e-a f) (b g-a h) \sqrt{e+f x} \sqrt{g+h x}}\\ \end{align*}

Mathematica [C]  time = 16.8554, size = 16821, normalized size = 24.74 \[ \text{Result too large to show} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[(a*b*B - a^2*C + b^2*B*x + b^2*C*x^2)/((a + b*x)^3*Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

Result too large to show

________________________________________________________________________________________

Maple [B]  time = 0.079, size = 13405, normalized size = 19.7 \begin{align*} \text{output too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^3/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x)

[Out]

result too large to display

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{C b^{2} x^{2} + B b^{2} x - C a^{2} + B a b}{{\left (b x + a\right )}^{3} \sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^3/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x, algorithm="ma
xima")

[Out]

integrate((C*b^2*x^2 + B*b^2*x - C*a^2 + B*a*b)/((b*x + a)^3*sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)

________________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^3/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x, algorithm="fr
icas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((C*b**2*x**2+B*b**2*x+B*a*b-C*a**2)/(b*x+a)**3/(d*x+c)**(1/2)/(f*x+e)**(1/2)/(h*x+g)**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{C b^{2} x^{2} + B b^{2} x - C a^{2} + B a b}{{\left (b x + a\right )}^{3} \sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((C*b^2*x^2+B*b^2*x+B*a*b-C*a^2)/(b*x+a)^3/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x, algorithm="gi
ac")

[Out]

integrate((C*b^2*x^2 + B*b^2*x - C*a^2 + B*a*b)/((b*x + a)^3*sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)